Operating System High Level Language Application Code Runtime Environment PDES

نویسندگان

  • David M. Nicol
  • Xiaowen Liu
چکیده

This paper is a reminder of the danger of allowing \risk" when synchronizing a parallel discrete-event simulation: a simulation code that runs correctly on a serial machine may, when run in parallel, fail catastrophically. This can happen when Time Warp presents an \inconsis-tent" message to an LP, a message that makes absolutely no sense given the LP's state. Failure may result if the simulation modeler did not anticipate the possibility of this inconsistency. While the problem is not new, there has been little discussion of how to deal with it; furthermore the problem may not be evident to new users or potential users of parallel simulation. This paper shows how the problem may occur, and the damage it may cause. We show how one may eliminate inconsistencies due to lagging rollbacks and stale state, but then show that so long as risk is allowed it is still possible for an LP to be placed in a state that is inconsistent with model semantics, again making it vulnerable to failure. We nally show how simulation code can be tested to ensure safe execution under a risk-free protocol. Whether risky or risk-free, we conclude that under current practice the development of correct and safe parallel simulation code is not transparent to the modeler; certain protections must be included in model code or model testing that are not rigorously necessary if the simulation were executed only serially. Figure 1: Hierarchy of software layers in typical parallel simulation discrete-event simulation (PDES) package

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

The Dark Side of Risk (what Your Mother Never Told You about Time Warp) Operating System High Level Language Application Code Runtime Environment Pdes Library

This paper is a reminder of the danger of allowing \risk" when synchronizing a parallel discrete-event simulation: a simulation code that runs correctly on a serial machine may, when run in parallel, fail catastrophically. This can happen when Time Warp presents an \inconsistent" message to an LP, a message that makes absolutely no sense given the LP's state. Failure may result if the simulatio...

متن کامل

A Prototype Implementation of Apostle, and Its Performance

High-level, simulation-oriented languages can fully insulate the user from the low-level complexities of Parallel Discrete Event Simulation (PDES), a task that is almost impossible when a parallel simulator is based on providing library support for an existing programming language. High-level, simulation-oriented languages also enable optimizations to be performed that are difficult and cumbers...

متن کامل

Memory Conscious Scheduling and Processor Allocation on NUMA Architrchitectures

Operating system abstractions do not always meet the needs of a language or applications designer. A lack of efficiency and functionality in scheduling mechanisms can be filled by an application-specific runtime environment providing mechanisms for dynamic processor allocation and memory conscious scheduling. We believe that a synergistic approach that involves three components, the operating s...

متن کامل

New security issues raised by open cards

The methods, languages and tools for developing a smart card system share some characteristics with those of the embedded domain. Until recently, smart card programs were written in hand coded native assembly language. All programs (drivers, operating system, libraries, applications) were developed as a monolithic piece of code burned in the smart card ROM. Therefore, not only are traditional c...

متن کامل

.NET to Java Comparison

Microsoft’s .NET Framework, and Sun’s Java HotSpot Virtual Machine are latest achievements in platforms independent of underlying system. Both platforms provide runtime environment that is independent of the underlying operating system and computer architecture, and/or programming language used in application development. .NET Framework provides the crosslanguage operability, but can currently ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1996